var game = urlInfo.params.game;

switch (urlInfo.params.cmd) {
case "log":
    $("title").html("账变记录 - 菠菜")
    $(".am-header-title").html("账变记录");
    switch_page("balance_log", $("#content"));
    break;

case "results":
    $("title").html("开奖结果 - 菠菜")
    $(".am-header-title").html("开奖结果");
    switch_page("result", $("#content"));
    break;

case "rule":
    $("title").html("游戏规则 - 菠菜")
    $(".am-header-title").html("游戏规则");
    switch_page("rule", $("#content"));
    break;

case "bind":
    $("title").html("信息绑定 - 菠菜")
    $(".am-header-title").html("信息绑定");
    switch_page("bind", $("#content"));
    break;    

case "charge":
    $("title").html("积分管理 - 菠菜")
    $(".am-header-title").html("积分管理");
    switch_page("charge", $("#content"));
    break;

case "charge_bank":    
    $("title").html("转账 - 菠菜")
    $(".am-header-title").html("银行转账");
    switch_page("charge_bank", $("#content"));
    break;
case "charge_alipay":    
    $("title").html("支付宝转账 - 菠菜")
    $(".am-header-title").html("支付宝转账");
    switch_page("charge_alipay", $("#content"));
    break;    
case "charge_wechat":    
    $("title").html("微信转账 - 菠菜")
    $(".am-header-title").html("微信转账");
    switch_page("charge_wechat", $("#content"));
    break;    

case "take":    
    $("title").html("提款 - 菠菜")
    $(".am-header-title").html("提款");
    switch_page("take", $("#content"));
    break;
}
